staging/lustre: Remove __attribute__ definition from libcfs.h
authorPekka Enberg <penberg@kernel.org>
Fri, 15 May 2015 18:40:18 +0000 (21:40 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 00:19:37 +0000 (09:19 +0900)
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>
drivers/staging/lustre/include/linux/libcfs/libcfs.h

index 947df7eeca877059c8d2e738eea6457bcab0f7cf..244f1aaecad2226ad0aeea986b1ba58ce331168c 100644 (file)
 #ifndef __LIBCFS_LIBCFS_H__
 #define __LIBCFS_LIBCFS_H__
 
-#if !__GNUC__
-#define __attribute__(x)
-#endif
-
 #include "linux/libcfs.h"
 #include <linux/gfp.h>