diff options
author | 2014-12-25 16:04:46 -0800 | |
---|---|---|
committer | 2015-01-17 15:49:22 -0800 | |
commit | 90d2ced902331613ba1d953d8d8884cae21da296 (patch) | |
tree | 56c50a4efb47055acc49a77eb2a9226236aa4440 /drivers/staging/lustre/include/linux/libcfs/libcfs_private.h | |
parent | staging: lustre: replace MIN with min_t, remove cast (diff) | |
download | linux-90d2ced902331613ba1d953d8d8884cae21da296.tar.gz linux-90d2ced902331613ba1d953d8d8884cae21da296.tar.bz2 linux-90d2ced902331613ba1d953d8d8884cae21da296.zip |
staging: lustre: remove custom MIN/MAX and min_t operations
Remove all custom MIN/MAX and min_t operations since they are
no longer needed.
Signed-off-by: Jeremiah Mahler <jmmahler@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include/linux/libcfs/libcfs_private.h')
-rw-r--r-- | drivers/staging/lustre/include/linux/libcfs/libcfs_private.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h index 2817112c0633..3d86fb5b5481 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h @@ -458,14 +458,6 @@ struct libcfs_device_userstate { struct page *ldu_memhog_root_page; }; -/* what used to be in portals_lib.h */ -#ifndef MIN -# define MIN(a, b) (((a) < (b)) ? (a) : (b)) -#endif -#ifndef MAX -# define MAX(a, b) (((a) > (b)) ? (a) : (b)) -#endif - #define MKSTR(ptr) ((ptr)) ? (ptr) : "" static inline int cfs_size_round4(int val) |