History

[media] lirc_dev: remove unused set_use_inc/set_use_dec

Since there are no users of this functionality, it can be removed altogether.

David Härdeman committed 9 years ago

Commit 2c5a1f41 parent 52e809f3 files · +6 −26Browse files

Showing the changes to include/media/lirc_dev.h (1 of 3 files). Show all

Unified · Split

include/media/lirc_dev.h+0−6
@@ -165,10 +165,6 @@ static inline unsigned int lirc_buffer_write(struct lirc_buffer *buf, · 164 unmodified lines
165165 * have to write to the buffer by other means, like irq's
166166 * (see also lirc_serial.c).
167167 *
168− * @set_use_inc: set_use_inc will be called after device is opened
169− *
170− * @set_use_dec: set_use_dec will be called after device is closed
171− *
172168 * @rdev: Pointed to struct rc_dev associated with the LIRC
173169 * device.
174170 *
@@ -198,8 +194,6 @@ struct lirc_driver { · 23 unmodified lines
198194 int max_timeout;
199195 int (*add_to_buf)(void *data, struct lirc_buffer *buf);
200196 struct lirc_buffer *rbuf;
201− int (*set_use_inc)(void *data);
202− void (*set_use_dec)(void *data);
203197 struct rc_dev *rdev;
204198 const struct file_operations *fops;
205199 struct device *dev;