Dan Carpenter 5af478341f media: dib9000: delete some unused broken code
The dib9000_remove_slave_frontend() function isn't used.

I was reviewing it because my static checker claims it writes one
element beyond the end of the array.  That's a false positive.  What it
actually does is, if there are two or more front ends, then it prints a
debug message to say that it removed the first one, stored in
state->fe[1], and then it "removes" (scare quotes on purpose) the second
one, stored in state->fe[2].  Deleting a front end from the middle is
not really supported and breaks code like dib9000_release() which
assumes the first NULL front end marks the end of the list.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-08-27 08:46:42 -04:00
..
2015-08-11 07:10:04 -03:00
2016-01-25 12:01:08 -02:00
2016-11-13 10:02:22 -08:00
2017-02-27 18:43:47 -08:00
2017-03-24 15:24:00 +01:00
2016-06-07 15:41:58 -03:00
2016-03-03 09:26:05 -03:00
2015-04-08 15:02:07 -03:00
2016-09-22 12:55:49 -03:00
2017-03-03 08:39:48 -03:00
2017-02-27 18:43:47 -08:00