summaryrefslogtreecommitdiff
path: root/drivers/net/usb/lan78xx.c
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2021-12-06 02:28:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-17 20:01:39 +0300
commit4b95391c8ef0f270ed58234597aef58976abe01c (patch)
tree6a39b5c79eae89460816e665082791ddc3569945 /drivers/net/usb/lan78xx.c
parente5ce127e5f7bc0afee21e9363a2aa415c1a32a36 (diff)
downloadlinux-4b95391c8ef0f270ed58234597aef58976abe01c.tar.xz
serial: 8250_pci: remove redundant assignment to tmp after the mask operation
The variable tmp is being masked with a bitmask and the value is being written to port base + 0x3c. However, the masked value is being written back to tmp and tmp is never used after this. The assignmentment is redundant, replace the &= operator with just &. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Reviewesd-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20211205232822.110099-1-colin.i.king@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/usb/lan78xx.c')
0 files changed, 0 insertions, 0 deletions