diff options
| author | 2022-08-29 12:37:11 +0200 | |
|---|---|---|
| committer | 2022-09-24 10:01:57 +0200 | |
| commit | ba6856aab1a7edebf1a27c0b6bffaa8a6ea80de7 (patch) | |
| tree | 503ea488fa619aeedeb3e5eb673660fcd813681d /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com | |
| parent | media: atomisp: Fix v4l2_fh resource leak on open errors (diff) | |
| download | linux-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
