lkml.org 
[lkml]   [2010]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] drbd: Remove __packed define
    Date
    From: Gustavo F. Padovan <padovan@profusion.mobi>

    __packed is already defined on <compiler.h>

    Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
    ---
    drivers/block/drbd/drbd_int.h | 4 ----
    1 files changed, 0 insertions(+), 4 deletions(-)

    diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
    index e9654c8..548b3fa 100644
    --- a/drivers/block/drbd/drbd_int.h
    +++ b/drivers/block/drbd/drbd_int.h
    @@ -323,10 +323,6 @@ static inline void bm_xfer_ctx_bit_to_word_offset(struct bm_xfer_ctx *c)
    #endif
    }

    -#ifndef __packed
    -#define __packed __attribute__((packed))
    -#endif
    -
    /* This is the layout for a packet on the wire.
    * The byteorder is the network byte order.
    * (except block_id and barrier fields.
    --
    1.7.1.1


    \
     
     \ /
      Last update: 2010-07-19 06:55    [W:0.021 / U:60.584 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site