diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-26 17:11:23 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-26 17:11:23 -0700 |
commit | d9ff3934171b5cf1ac17e5fcd39f3f324b4724ce (patch) | |
tree | fe5c4779c0f78ca182080a4c0f7a6e000299dd9f /drivers/staging/csr/csr_macro.h | |
parent | eaadf9a76e80b00dfac31ee7ee0a5ca8fb284baf (diff) | |
download | op-kernel-dev-d9ff3934171b5cf1ac17e5fcd39f3f324b4724ce.zip op-kernel-dev-d9ff3934171b5cf1ac17e5fcd39f3f324b4724ce.tar.gz |
Staging: csr: remove CSRMIN() macro
Use the in-kernel min_t() macro for the one place it was being used.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/csr/csr_macro.h')
-rw-r--r-- | drivers/staging/csr/csr_macro.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/csr/csr_macro.h b/drivers/staging/csr/csr_macro.h index d78ac51..c47f1d9 100644 --- a/drivers/staging/csr/csr_macro.h +++ b/drivers/staging/csr/csr_macro.h @@ -31,8 +31,6 @@ /*------------------------------------------------------------------*/ /* Misc */ /*------------------------------------------------------------------*/ -#define CSRMIN(a, b) (((a) < (b)) ? (a) : (b)) - /* Use this macro on unused local variables that cannot be removed (such as unused function parameters). This will quell warnings from certain compilers and static code analysis tools like Lint and Valgrind. */ |