summaryrefslogtreecommitdiff
path: root/drivers/staging/i4l
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2016-08-22 22:04:55 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-31 09:24:40 +0200
commiteb07d11ea215027426d60b7d0604acf92bc27799 (patch)
tree3ef1417e5e07dc22a8792c185fb1cb4799908849 /drivers/staging/i4l
parentf775252f4bae4123e5e76ad4ccefa6e42d1856b9 (diff)
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>
Diffstat (limited to 'drivers/staging/i4l')
-rw-r--r--drivers/staging/i4l/act2000/capi.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/i4l/act2000/capi.h b/drivers/staging/i4l/act2000/capi.h
index 7d0f52db7fa5..34884a5efee5 100644
--- a/drivers/staging/i4l/act2000/capi.h
+++ b/drivers/staging/i4l/act2000/capi.h
@@ -127,13 +127,6 @@ typedef struct actcapi_ncpd {
* Bit 5-7 = Controller
* Bit 8-15 = reserved (must be 0)
*/
-#define MAKE_PLCI(plci, contr) \
- ((plci & 0x1f) | ((contr & 0x7) << 5))
-
-#define EVAL_PLCI(fakeplci, plci, contr) { \
- plci = fakeplci & 0x1f; \
- contr = (fakeplci >> 5) & 0x7; \
- }
typedef struct actcapi_msg {
actcapi_msghdr hdr;