aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-06-05 11:20:46 +0200
committerGreg Kroah-Hartman <[email protected]>2023-06-15 13:43:21 +0200
commit3d82dca0f27ac5a0bfbbce439bba5c6452f3b7da (patch)
tree28ceae7708afc0739edb7e3abb9fa720c0af3731 /net/lapb/lapb_subr.c
parente8989a48ca5111122b73fe905baf07ea29f1c197 (diff)
char: xilinx_hwicap: Drop if block with always false condition
hwicap_drv_remove() is only called for a device after hwicap_drv_probe() returned 0. In that case dev_set_drvdata() was called (by hwicap_setup()) with a non-NULL value and so dev_get_drvdata() won't return NULL. Signed-off-by: Uwe Kleine-König <[email protected]> Acked-by: Michal Simek <[email protected]> Message-ID: <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions