summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPekka Enberg2015-05-15 20:40:18 +0200
committerGreg Kroah-Hartman2015-05-31 02:19:37 +0200
commite3bf98f71d25fdf7de4a82f16210e20502b71045 (patch)
tree1e50e12d7219599a5e654324e62a058fe79c1e39
parentstaging: lustre: check kzalloc return value (diff)
downloadkernel-qcow2-linux-e3bf98f71d25fdf7de4a82f16210e20502b71045.tar.gz
kernel-qcow2-linux-e3bf98f71d25fdf7de4a82f16210e20502b71045.tar.xz
kernel-qcow2-linux-e3bf98f71d25fdf7de4a82f16210e20502b71045.zip
staging/lustre: Remove __attribute__ definition from libcfs.h
Linux requires a GNU C compatible compiler so drop a pointless define. Signed-off-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/lustre/include/linux/libcfs/libcfs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs.h b/drivers/staging/lustre/include/linux/libcfs/libcfs.h
index 947df7eeca87..244f1aaecad2 100644
--- a/drivers/staging/lustre/include/linux/libcfs/libcfs.h
+++ b/drivers/staging/lustre/include/linux/libcfs/libcfs.h
@@ -37,10 +37,6 @@
#ifndef __LIBCFS_LIBCFS_H__
#define __LIBCFS_LIBCFS_H__
-#if !__GNUC__
-#define __attribute__(x)
-#endif
-
#include "linux/libcfs.h"
#include <linux/gfp.h>