mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
staging: vchi: Get rid of unnecessary defines
Those defines aren't used by anyone. Get rid of them. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Link: https://lore.kernel.org/r/20200629150945.10720-17-nsaenzjulienne@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
09c0f0fc3f
commit
7bfb15ccb3
2 changed files with 0 additions and 12 deletions
|
@ -11,21 +11,10 @@
|
|||
* Global defs
|
||||
*****************************************************************************/
|
||||
|
||||
#define VCHI_BULK_ROUND_UP(x) ((((unsigned long)(x)) + VCHI_BULK_ALIGN - 1) & ~(VCHI_BULK_ALIGN - 1))
|
||||
#define VCHI_BULK_ROUND_DOWN(x) (((unsigned long)(x)) & ~(VCHI_BULK_ALIGN - 1))
|
||||
#define VCHI_BULK_ALIGN_NBYTES(x) (VCHI_BULK_ALIGNED(x) ? 0 : (VCHI_BULK_ALIGN - ((unsigned long)(x) & (VCHI_BULK_ALIGN - 1))))
|
||||
|
||||
#ifdef USE_VCHIQ_ARM
|
||||
#define VCHI_BULK_ALIGNED(x) 1
|
||||
#else
|
||||
#define VCHI_BULK_ALIGNED(x) (((unsigned long)(x) & (VCHI_BULK_ALIGN - 1)) == 0)
|
||||
#endif
|
||||
|
||||
struct vchi_version {
|
||||
uint32_t version;
|
||||
uint32_t version_min;
|
||||
};
|
||||
#define VCHI_VERSION(v_) { v_, v_ }
|
||||
#define VCHI_VERSION_EX(v_, m_) { v_, m_ }
|
||||
|
||||
// Macros to manipulate 'FOURCC' values
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#include "mmal-vchiq.h"
|
||||
#include "mmal-msg.h"
|
||||
|
||||
#define USE_VCHIQ_ARM
|
||||
#include "interface/vchi/vchi.h"
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue