linux-next/drivers/char/xilinx_hwicap
Uwe Kleine-König 3d82dca0f2 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 <u.kleine-koenig@pengutronix.de>
Acked-by: Michal Simek <michal.simek@amd.com>
Message-ID: <20230605092047.50472-2-u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-15 13:43:21 +02:00
..
buffer_icap.c char: xilinx_hwicap: Remove pointless local variables 2017-01-25 11:41:44 +01:00
buffer_icap.h xilinx_hwicap: remove improper wording in license statement 2008-12-17 11:23:07 -08:00
fifo_icap.c xilinx_hwicap: cleanup comments 2022-02-25 12:08:57 +01:00
fifo_icap.h xilinx_hwicap: remove improper wording in license statement 2008-12-17 11:23:07 -08:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
xilinx_hwicap.c char: xilinx_hwicap: Drop if block with always false condition 2023-06-15 13:43:21 +02:00
xilinx_hwicap.h char: xilinx_hwicap: Fix warnings in the driver 2017-08-28 17:04:47 +02:00