staging: sm750fb: remove unused MB(x) and KB(x) macros

The MB(x) and KB(x) macros 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>
This commit is contained in:
Mike Rapoport 2015-09-22 12:01:18 +03:00 committed by Greg Kroah-Hartman
parent 4cf26d859a
commit e967d336ee
2 changed files with 0 additions and 3 deletions

View file

@ -7,7 +7,6 @@
/* please use revision id to distinguish sm750le and sm750*/
#define SPC_SM750 0
#define MB(x) ((x)<<20)
#define MHZ(x) ((x) * 1000000)
/* align should be 2,4,8,16 */
#define PADDING(align, data) (((data)+(align)-1)&(~((align) - 1)))

View file

@ -81,8 +81,6 @@ static inline unsigned int absDiff(unsigned int a, unsigned int b)
/* n / d + 1 / 2 = (2n + d) / 2d */
#define roundedDiv(num, denom) ((2 * (num) + (denom)) / (2 * (denom)))
#define MB(x) ((x)<<20)
#define KB(x) ((x)<<10)
#define MHz(x) ((x) * 1000000)