caif: Remove unused attributes from struct cflayer
authorsjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com>
Wed, 30 Nov 2011 13:02:32 +0000 (13:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Dec 2011 04:30:48 +0000 (23:30 -0500)
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/caif/caif_layer.h

index 35bc7883cf9720e8e4dcbd85c7c7a16890d179fe..0f3a39125f909f3e0b52c1addff4cd95d07b5b91 100644 (file)
@@ -121,9 +121,7 @@ enum caif_direction {
  * @transmit:  Packet transmit funciton.
  * @ctrlcmd:   Used for control signalling upwards in the stack.
  * @modemcmd:  Used for control signaling downwards in the stack.
- * @prio:      Priority of this layer.
  * @id:                The identity of this layer
- * @type:      The type of this layer
  * @name:      Name of the layer.
  *
  *  This structure defines the layered structure in CAIF.
@@ -230,9 +228,7 @@ struct cflayer {
         */
        int (*modemcmd) (struct cflayer *layr, enum caif_modemcmd ctrl);
 
-       unsigned short prio;
        unsigned int id;
-       unsigned int type;
        char name[CAIF_LAYER_NAME_SZ];
 };