aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2015-11-06 18:47:12 +0000
committerLinus Torvalds <[email protected]>2015-11-06 18:47:12 +0000
commit4dcee4d84394dc5d9a0cc3e9ccbb633fd2ea08d2 (patch)
tree29458ff9b6186df3d2d79b06a386ed647fc1c6f0 /lib/mpi/mpicoder.c
parentMerge tag 'mfd-for-linus-4.4' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadkernel-4dcee4d84394dc5d9a0cc3e9ccbb633fd2ea08d2.tar.gz
kernel-4dcee4d84394dc5d9a0cc3e9ccbb633fd2ea08d2.zip
mfd: avoid newly introduced compiler warning
Commit b158b69a3765 ("mfd: rtsx: Simplify function return logic") removed the use of the 'err' variable, but left the variable itself around, resulting in gcc quite reasonably warning: drivers/mfd/rtsx_pcr.c: In function ‘rtsx_pci_set_pull_ctl’: drivers/mfd/rtsx_pcr.c:565:6: warning: unused variable ‘err’ [-Wunused-variable] int err; ^ Get rid of the unused variable, and avoid the new warning. Cc: Javier Martinez Canillas <[email protected]> Cc: Lee Jones <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions