aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2017-11-15 22:33:10 +0000
committerGreg Kroah-Hartman <[email protected]>2017-11-28 15:31:27 +0000
commit5f76c6f313bffbf372c0722582e7bd509f0d3510 (patch)
treee5875a108f5d862301b317ccde0ec0ced6b7a0ad /drivers/fpga/fpga-bridge.c
parentfpga: add attribute groups (diff)
downloadkernel-5f76c6f313bffbf372c0722582e7bd509f0d3510.tar.gz
kernel-5f76c6f313bffbf372c0722582e7bd509f0d3510.zip
fpga: fpga-mgr: remove unnecessary code in __fpga_mgr_get
Notice that mgr = to_fpga_manager(dev); expands to: mgr = container_of(dev, struct fpga_manager, dev); and container_of is never null, so this null check is unnecessary. Addresses-Coverity-ID: 1397916 Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Alan Tull <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions