aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorRuan Jinjie <[email protected]>2023-08-17 07:30:17 +0000
committerJakub Kicinski <[email protected]>2023-08-18 22:31:46 +0000
commitee09e9deefac842a66cbbd39fd2f03aff6e2a656 (patch)
tree1ae1efeb557ac8203b79b9a971204221fefabb56 /drivers/net/ethernet/intel/ice/ice_main.c
parentpds_core: remove redundant pci_clear_master() (diff)
downloadkernel-ee09e9deefac842a66cbbd39fd2f03aff6e2a656.tar.gz
kernel-ee09e9deefac842a66cbbd39fd2f03aff6e2a656.zip
sky2: Remove redundant NULL check for debugfs_create_dir
Since debugfs_create_dir() returns ERR_PTR, IS_ERR() is enough to check whether the directory is successfully created. So remove the redundant NULL check. Signed-off-by: Ruan Jinjie <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions