Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: i4l: act2000: remove unused macro

The macro EVAL_PLCI and MAKE_PLCI are not being used. Remove them.
But keep the comment preceding them as it contains information
regarding message format.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Sudip Mukherjee and committed by
Greg Kroah-Hartman
eb07d11e f775252f

-7
-7
drivers/staging/i4l/act2000/capi.h
··· 127 127 * Bit 5-7 = Controller 128 128 * Bit 8-15 = reserved (must be 0) 129 129 */ 130 - #define MAKE_PLCI(plci, contr) \ 131 - ((plci & 0x1f) | ((contr & 0x7) << 5)) 132 - 133 - #define EVAL_PLCI(fakeplci, plci, contr) { \ 134 - plci = fakeplci & 0x1f; \ 135 - contr = (fakeplci >> 5) & 0x7; \ 136 - } 137 130 138 131 typedef struct actcapi_msg { 139 132 actcapi_msghdr hdr;