aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-08-29 12:37:11 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-09-24 10:01:57 +0200
commitba6856aab1a7edebf1a27c0b6bffaa8a6ea80de7 (patch)
tree503ea488fa619aeedeb3e5eb673660fcd813681d /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com
parentmedia: atomisp: Fix v4l2_fh resource leak on open errors (diff)
downloadlinux-dev-ba6856aab1a7edebf1a27c0b6bffaa8a6ea80de7.tar.xz
linux-dev-ba6856aab1a7edebf1a27c0b6bffaa8a6ea80de7.zip
media: atomisp: Simplify v4l2_fh_open() error handling
v4l2_fh_open() can only fail with -ENOMEM and as a generic rule drivers do not log their own errors for -ENOMEM since the kernel will already have complained loudly about this before the -ENOMEM return. Remove the unnecessary error logging from atomisp_open(). Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions