mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
media: ca.h: get rid of CA_SET_PID
This ioctl seems to be some attempt to support a feature at the bt8xx dst_ca driver. Yet, as said there, it "needs more work". Right now, the code there is just a boilerplate. At the end of the day, no driver uses this ioctl, nor it is documented anywhere (except for "needs more work"). So, get rid of it. Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
abe8ee991c
commit
833ff5e7fe
7 changed files with 0 additions and 100 deletions
|
|
@ -64,13 +64,6 @@ static int ca_set_slot_descr(void)
|
|||
return -EOPNOTSUPP;
|
||||
}
|
||||
|
||||
/* Need some more work */
|
||||
static int ca_set_pid(void)
|
||||
{
|
||||
/* We could make this more graceful ? */
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
|
||||
static void put_command_and_length(u8 *data, int command, int length)
|
||||
{
|
||||
data[0] = (command >> 16) & 0xff;
|
||||
|
|
@ -629,15 +622,6 @@ static long dst_ca_ioctl(struct file *file, unsigned int cmd, unsigned long ioct
|
|||
}
|
||||
dprintk(verbose, DST_CA_INFO, 1, " -->CA_SET_DESCR Success !");
|
||||
break;
|
||||
case CA_SET_PID:
|
||||
dprintk(verbose, DST_CA_INFO, 1, " Setting PID");
|
||||
if ((ca_set_pid()) < 0) {
|
||||
dprintk(verbose, DST_CA_ERROR, 1, " -->CA_SET_PID Failed !");
|
||||
result = -1;
|
||||
goto free_mem_and_exit;
|
||||
}
|
||||
dprintk(verbose, DST_CA_INFO, 1, " -->CA_SET_PID Success !");
|
||||
break;
|
||||
default:
|
||||
result = -EOPNOTSUPP;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue