Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9d391cc authored by Daniil Dulov's avatar Daniil Dulov Committed by Sasha Levin
Browse files

media: pvrusb2: remove redundant NULL check



[ Upstream commit 95ac1210fb2753f968ebce0730d4fbc553c2a3dc ]

Pointer dip->stream cannot be NULL due to a shift, thus remove redundant
NULL check.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: c74e0062 ("V4L/DVB (5059): Pvrusb2: Be smarter about mode restoration")
Signed-off-by: default avatarDaniil Dulov <d.dulov@aladdin.ru>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 013fb505
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment