The dev identifier is not used until after a media device has been selected, at which point the vsp1_device function is re-called. Remove the redundant assignment. Signed-off-by: Kieran Bingham <kieran.bingham@xxxxxxxxxxxxxxxx> --- scripts/vsp-lib.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/vsp-lib.sh b/scripts/vsp-lib.sh index a8898e80a879..04a8127f6073 100755 --- a/scripts/vsp-lib.sh +++ b/scripts/vsp-lib.sh @@ -1040,8 +1040,6 @@ test_init() { local best_mdev= for mdev in /dev/media* ; do - dev=$(vsp1_device $mdev) - local match='true' for feature in $features ; do $(vsp1_has_feature "$feature") || { -- 2.25.1