Skip to content
Commit 95ac1210 authored by Daniil Dulov's avatar Daniil Dulov Committed by Hans Verkuil
Browse files

media: pvrusb2: remove redundant NULL check

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>
parent 0b70530e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment