diff options
| author | Graf Yang <graf.yang@analog.com> | 2008-05-14 02:25:57 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2008-05-14 02:25:57 -0400 |
| commit | 332223831e86b2e17b48b4afafad07d8e3b73861 (patch) | |
| tree | a3bd42005c91888c3cb20ec0ca6880e3181e7acb /include/net/irda | |
| parent | c1cc678adaa78ae2aab6a6d699241ad516d84476 (diff) | |
irda: Fix a misalign access issue. (v2)
Replace u16ho with put/get_unaligned functions
Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/irda')
| -rw-r--r-- | include/net/irda/discovery.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/irda/discovery.h b/include/net/irda/discovery.h index e4efad1f9eff..0ce93398720d 100644 --- a/include/net/irda/discovery.h +++ b/include/net/irda/discovery.h | |||
| @@ -57,9 +57,6 @@ typedef union { | |||
| 57 | __u8 byte[2]; | 57 | __u8 byte[2]; |
| 58 | } __u16_host_order; | 58 | } __u16_host_order; |
| 59 | 59 | ||
| 60 | /* Same purpose, different application */ | ||
| 61 | #define u16ho(array) (* ((__u16 *) array)) | ||
| 62 | |||
| 63 | /* Types of discovery */ | 60 | /* Types of discovery */ |
| 64 | typedef enum { | 61 | typedef enum { |
| 65 | DISCOVERY_LOG, /* What's in our discovery log */ | 62 | DISCOVERY_LOG, /* What's in our discovery log */ |
