staging: media: atomisp: remove unnecessary else after return in atomisp_cmd.c

Remove unnecessary else clause after return statement as the else
branch is not needed when the if branch always returns.

Signed-off-by: Oskar Ray-Frayssinet <rayfraytech@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
This commit is contained in:
Oskar Ray-Frayssinet 2026-03-01 23:30:38 +01:00 committed by Sakari Ailus
parent 4d542f256c
commit cede4f26b4

View File

@ -2032,8 +2032,8 @@ static unsigned int long copy_from_compatible(void *to, const void *from,
{
if (from_user)
return copy_from_user(to, (void __user *)from, n);
else
memcpy(to, from, n);
memcpy(to, from, n);
return 0;
}