V4L/DVB (10029): m5602: remove uneeded test on po1030

The po1030 never sends long i2c messages, no need to test for that in
the init phase.

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Erik Andrén 2008-11-27 13:58:20 -03:00 committed by Mauro Carvalho Chehab
parent 83fdea270c
commit 48223c8829
1 changed files with 0 additions and 6 deletions

View File

@ -87,12 +87,6 @@ int po1030_init(struct sd *sd)
init_po1030[i][1], data, 1);
break;
case SENSOR_LONG:
data[0] = init_po1030[i][2];
data[1] = init_po1030[i][3];
err = m5602_write_sensor(sd,
init_po1030[i][1], data, 2);
break;
default:
info("Invalid stream command, exiting init");
return -EINVAL;