diff options
author | Mike Rapoport <mike.rapoport@gmail.com> | 2015-09-30 08:24:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-30 12:26:20 +0200 |
commit | 6af70030431d5d58b34c294ddb371baf7f6c9d4b (patch) | |
tree | fe8248aff6cd8a3a170f71d87afcfbd99c095070 /drivers/staging/sm750fb/sm750.h | |
parent | 86b5f4ed3525645dac9fa8a5eedcd5af7118c591 (diff) |
staging: sm750fb: remove unused macros
Several macros defined in sm750.h and sm750_help.h are not used and
therefore they can be removed
Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/sm750.h')
-rw-r--r-- | drivers/staging/sm750fb/sm750.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h index 793c0924463f..b2f05f459505 100644 --- a/drivers/staging/sm750fb/sm750.h +++ b/drivers/staging/sm750fb/sm750.h @@ -162,13 +162,6 @@ struct lynxfb_par { #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) #endif - -#define PS_TO_HZ(ps) \ - ({ \ - unsigned long long hz = 1000*1000*1000*1000ULL; \ - do_div(hz, ps); \ - (unsigned long)hz; }) - static inline unsigned long ps_to_hz(unsigned int psvalue) { unsigned long long numerator = 1000*1000*1000*1000ULL; |