summaryrefslogtreecommitdiff
path: root/net/netlink/af_netlink.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2016-11-24 15:18:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-28 10:29:34 +0300
commitef510bea5f6c16663428d914699935bdd7913de8 (patch)
tree41fe7486117b40f78d795a73a1f3236cab1493ac /net/netlink/af_netlink.h
parentb8106454733806b56c87493042da77b3b8b48d22 (diff)
downloadlinux-ef510bea5f6c16663428d914699935bdd7913de8.tar.xz
serial: core: don't check port twice in a row
There is no need to check port for NULL in uart_port_deref() since we call it only when port is defined. There are few places that violate this. Fix them here as well. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/netlink/af_netlink.h')
0 files changed, 0 insertions, 0 deletions