Skip to contentSkip to conversation

media; firewire: Remove no longer needed fix me comment in firedtv-ci.c for the function,fdtv_ca_ioctl

PATCH Clemens Ladisch 1 participant 1 message Jan 9, 2015 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 4 lines · Nicholas Krause

Removes the no longer fix me comment for if we need to set the tuner status with the line, avc_tuner_status(fdtv, &stat). This line is needed in order to set the tuner status after we have through the switch statement checking what fdtv function we need to call to use to try and setup the hardware successfully.

You have attempted to describe what fdtv_ca_ioctl() does, but your description lacks any understanding of what avc_tuner_status() does, or how it might affect the device, or whether it is necessary.

Please stop spamming us with useless patches.

Quoted 17 lines
---
 drivers/media/firewire/firedtv-ci.c | 1 -
 1 file changed, 1 deletion(-)
drivers/media/firewire/firedtv-ci.c +0 -1
index e63f582..9c038ba 100644
@@ -201,7 +201,6 @@ static int fdtv_ca_ioctl(struct file *file, unsigned int cmd, void *arg)
 		err = -EOPNOTSUPP;
 	}
 
-	/* FIXME Is this necessary? */
 	avc_tuner_status(fdtv, &stat);
 
 	return err;