diff options
author | David Kilroy <kilroyd@googlemail.com> | 2011-09-15 23:20:53 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-09-16 18:34:52 (GMT) |
commit | 85d5cb15b3a75ca029be34af76fda7d0e081af44 (patch) | |
tree | bb616dd19ee4556dff083f47f548064c6fc7ad67 /drivers/staging/wlags49_h2/hcfdef.h | |
parent | 4b7ad42963dbc921c8e10f5b9527ecdaadda0602 (diff) | |
download | linux-fsl-qoriq-85d5cb15b3a75ca029be34af76fda7d0e081af44.tar.xz |
staging: wlags49_h2: Remove MUL/DIV_BY_2
Only used in one place, so just inline and get rid of the macro.
Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlags49_h2/hcfdef.h')
-rw-r--r-- | drivers/staging/wlags49_h2/hcfdef.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/wlags49_h2/hcfdef.h b/drivers/staging/wlags49_h2/hcfdef.h index 8fb870dc..a62b53a 100644 --- a/drivers/staging/wlags49_h2/hcfdef.h +++ b/drivers/staging/wlags49_h2/hcfdef.h @@ -568,9 +568,6 @@ err: ; #define LOF(x) (sizeof(x)/sizeof(hcf_16)-1) -#define MUL_BY_2( x ) ( (x) << 1 ) //used to multiply by 2 -#define DIV_BY_2( x ) ( (x) >> 1 ) //used to divide by 2 - //resolve problems on for some 16 bits compilers to create 32 bit values #define MERGE_2( hw, lw ) ( ( ((hcf_32)(hw)) << 16 ) | ((hcf_16)(lw)) ) |