From 17ac18d675ae71a2bd23c4bbbbad3caa095e3ece Mon Sep 17 00:00:00 2001 From: Oron Peled Date: Mon, 16 Nov 2015 15:42:21 -0500 Subject: [PATCH] xpp: Remove unused "datalen" field from xframe Signed-off-by: Tzafrir Cohen --- drivers/dahdi/xpp/xproto.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/dahdi/xpp/xproto.h b/drivers/dahdi/xpp/xproto.h index 0e0287f..ef91da5 100644 --- a/drivers/dahdi/xpp/xproto.h +++ b/drivers/dahdi/xpp/xproto.h @@ -127,7 +127,6 @@ bool valid_xpd_addr(const struct xpd_addr *addr); #define XENTRY(prototab, module, op) \ [ XPROTO_NAME(module, op) ] = { \ .handler = XPROTO_HANDLER(module, op), \ - .datalen = RPACKET_SIZE(module, op), \ .name = #op, \ .table = &PROTO_TABLE(prototab) \ } @@ -288,7 +287,6 @@ struct xops { struct xproto_entry { xproto_handler_t handler; - int datalen; const char *name; xproto_table_t *table; };