summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-utils.h
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-11-15 16:33:11 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-28 16:31:27 +0100
commit397f33cb0a7d60b3d061e70b66baee36a690351a (patch)
tree2b532bf43b930262cde983ef5570606f5a3e3729 /drivers/pinctrl/pinctrl-utils.h
parent5f76c6f313bffbf372c0722582e7bd509f0d3510 (diff)
downloadop-kernel-dev-397f33cb0a7d60b3d061e70b66baee36a690351a.zip
op-kernel-dev-397f33cb0a7d60b3d061e70b66baee36a690351a.tar.gz
fpga: fpga-bridge: remove unnecessary null check in of_fpga_bridge_get
Notice that bridge = to_fpga_bridge(dev); expands to: bridge = container_of(dev, struct fpga_bridge, dev); and container_of is never null, so this null check is unnecessary. Addresses-Coverity-ID: 1397912 Reported-by: Alan Tull <atull@kernel.org> Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Reviewed-by: Moritz Fischer <mdf@kernel.org> Signed-off-by: Alan Tull <atull@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-utils.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud