diff options
author | Mike Rapoport <mike.rapoport@gmail.com> | 2015-10-23 14:55:07 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-25 02:04:13 (GMT) |
commit | b108da75862b231ada8f26002138161214ca62d1 (patch) | |
tree | 80c807c9ec0cfcc457d9c5deb009db7ba50b5576 /drivers/staging/sm750fb | |
parent | 7a81b9477a0a247148096e8184a2657fdbd04a82 (diff) | |
download | linux-b108da75862b231ada8f26002138161214ca62d1.tar.xz |
staging: sm750fb: remove defintion of offsetof
There is no need to redefine offsetof
Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb')
-rw-r--r-- | drivers/staging/sm750fb/sm750.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h index 52fe945..e74a3e1 100644 --- a/drivers/staging/sm750fb/sm750.h +++ b/drivers/staging/sm750fb/sm750.h @@ -155,10 +155,6 @@ struct lynxfb_par { struct lynx_share *share; }; -#ifndef offsetof -#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) -#endif - static inline unsigned long ps_to_hz(unsigned int psvalue) { unsigned long long numerator = 1000*1000*1000*1000ULL; |