video: driver: remove additional conditional check
there is a WARN_ON in place which will print the warning in case of error, hence no need to have additional if check for the same. Change-Id: I09ca91fecd6cb8df4586621bb066754e39576d12 Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
このコミットが含まれているのは:
@@ -75,9 +75,6 @@ static int __strict_inst_check(struct msm_vidc_inst *inst, const char *function)
|
||||
|
||||
WARN_ON(fatal);
|
||||
|
||||
if (fatal)
|
||||
d_vpr_e("%s: strict check failed\n", function);
|
||||
|
||||
return fatal ? -EINVAL : 0;
|
||||
}
|
||||
|
||||
|
新しいイシューから参照
ユーザーをブロックする