modpost: remove stale comment about sym_add_exported()
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 24 Apr 2022 19:07:47 +0000 (04:07 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 7 May 2022 18:16:59 +0000 (03:16 +0900)
commit594ade3eef3f2d458902ced2cb2614dfae8558de
tree139c7e9282167892f57a7e73e6bd0f6a3f298b54
parentc155a47d83ab0b5ee96ebe1721057cba1936d0d5
modpost: remove stale comment about sym_add_exported()

The description,

  it may have already been added without a
  CRC, in this case just update the CRC

... is no longer valid.

In the old days, this function was used to update the CRC as well.

Commit 040fcc819a2e ("kbuild: improved modversioning support for
external modules") started to use a separate function (sym_update_crc)
for updating the CRC.

The first part, "Add an exported symbol" is correct, but it is too
obvious from the function name. Drop this comment entirely.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
scripts/mod/modpost.c