Return-Path: From: Claudio Takahasi To: linux-bluetooth@vger.kernel.org Cc: Claudio Takahasi Subject: [PATCH BlueZ v0 62/62] lib: Remove bt_put_unaligned() Date: Thu, 20 Mar 2014 11:43:27 -0300 Message-Id: <1395326607-27068-63-git-send-email-claudio.takahasi@openbossa.org> In-Reply-To: <1395326607-27068-1-git-send-email-claudio.takahasi@openbossa.org> References: <1395326607-27068-1-git-send-email-claudio.takahasi@openbossa.org> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: --- lib/bluetooth.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/bluetooth.h b/lib/bluetooth.h index 303ad67..9d00717 100644 --- a/lib/bluetooth.h +++ b/lib/bluetooth.h @@ -154,14 +154,6 @@ enum { #error "Unknown byte order" #endif -#define bt_put_unaligned(val, ptr) \ -do { \ - struct __attribute__((packed)) { \ - typeof(*(ptr)) __v; \ - } *__p = (typeof(__p)) (ptr); \ - __p->__v = (val); \ -} while(0) - /* BD Address */ typedef struct { uint8_t b[6]; -- 1.8.3.1