aboutsummaryrefslogtreecommitdiffstats
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorJinjie Ruan <[email protected]>2023-10-07 08:43:39 +0000
committerHans Verkuil <[email protected]>2023-10-13 09:33:22 +0000
commit32ec99f872aba071a070f61fcab2f3a068b50652 (patch)
tree600e03a6fc580607d0eca128b9736b6812c61ed7 /lib/netdev-notifier-error-inject.c
parentDocumentation: media: buffer.rst: fix V4L2_BUF_FLAG_PREPARED (diff)
downloadkernel-32ec99f872aba071a070f61fcab2f3a068b50652.tar.gz
kernel-32ec99f872aba071a070f61fcab2f3a068b50652.zip
media: aspeed: Drop unnecessary error check for debugfs_create_file()
debugfs_create_file() return ERR_PTR and never return NULL. When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Fixes: 52fed10ad756 ("media: aspeed: add debugfs") Signed-off-by: Jinjie Ruan <[email protected]> Suggested-by: Hans Verkuil <[email protected]> Reviewed-by: Eddie James <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions