]> Pileus Git - ~andy/linux/commit
uwb: wlp: refactor wlp_get_<attribute>() macros
authorDavid Vrabel <david.vrabel@csr.com>
Mon, 11 Jan 2010 13:46:31 +0000 (13:46 +0000)
committerDavid Vrabel <david.vrabel@csr.com>
Mon, 11 Jan 2010 13:46:31 +0000 (13:46 +0000)
commit145434bee45bd353f9a93e9b411f7aa7cc677c08
tree7afddca26b1ae6df811cb6764f586c2c7866f2f9
parent2c1f1895ef2aa8f0e5497893eff71304aef332e1
uwb: wlp: refactor wlp_get_<attribute>() macros

Refactor the wlp_get_<attribute>() macros to call a common function.
This save over 4k of space and remove a spurious uninitialized variable
warning with some versions of gcc.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
drivers/uwb/wlp/messages.c