Skip to content
Snippets Groups Projects
Commit 964f45a7 authored by Daniil Dulov's avatar Daniil Dulov Committed by Sasha Levin
Browse files

media: pvrusb2: remove redundant NULL check


[ Upstream commit 95ac1210 ]

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 1f8d45cd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment