diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-06-05 18:53:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-09 14:45:33 +0200 |
commit | d208cbb0024ec0a5878bfd6c757c7f01872201ea (patch) | |
tree | d5cec46d72cadd25ddf3a7c74a46eb4ab199e365 /include/linux/fpga/fpga-mgr.h | |
parent | 603e4922f1c81fc2ed3a87b4f91a8d3aafc7e093 (diff) | |
download | linux-d208cbb0024ec0a5878bfd6c757c7f01872201ea.tar.gz linux-d208cbb0024ec0a5878bfd6c757c7f01872201ea.tar.bz2 linux-d208cbb0024ec0a5878bfd6c757c7f01872201ea.zip |
misc/pvpanic: Remove some dead-code
'pvpanic_remove()' is referenced only by a 'devm_add_action_or_reset()'
call in 'devm_pvpanic_probe()'. So, we know that its parameter is non-NULL.
Axe the unneeded check to save a few lines of code.
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/8e425618f4042a8ab8366be4d34026972e77bd40.1622911768.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions