mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-04 03:33:58 +08:00
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:
parent
4cf26d859a
commit
e967d336ee
@ -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)))
|
||||
|
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user