summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/pnpbios
diff options
context:
space:
mode:
authoryu kuai <yukuai3@huawei.com>2020-01-20 02:23:31 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-01-23 00:26:13 +0100
commit786c87cd312ad2ec774bc4606834b06844dada6c (patch)
treed13b7685b1e0b27cedfc3ef64cf4346cb008e87e /drivers/pnp/pnpbios
parentPNP: isapnp: remove set but not used variable 'checksum' (diff)
downloadlinux-786c87cd312ad2ec774bc4606834b06844dada6c.tar.xz
linux-786c87cd312ad2ec774bc4606834b06844dada6c.zip
PNP: isapnp: remove defined but not used function 'isapnp_checksum'
Fix gcc '-Wunused-function' warnning: drivers/pnp/isapnp/core.c:752:29: warning: 'isapnp_checksum' defined but not used [-Wunused-function] 752 | static unsigned char __init isapnp_checksum(unsigned char *data) Commit 04c589f35bc5 ("PNP: isapnp: remove set but not used variable 'checksum'") removes the last caller of the function. It is never used and so can be removed. Fixes: 04c589f35bc5 ("PNP: isapnp: remove set but not used variable 'checksum'") Signed-off-by: yu kuai <yukuai3@huawei.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/pnp/pnpbios')
0 files changed, 0 insertions, 0 deletions