Skip to content

Commit

Permalink
staging/lustre: Remove __attribute__ definition from libcfs.h
Browse files Browse the repository at this point in the history
Linux requires a GNU C compatible compiler so drop a pointless define.

Signed-off-by: Pekka Enberg <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
penberg authored and gregkh committed May 31, 2015
1 parent db562e8 commit e3bf98f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/staging/lustre/include/linux/libcfs/libcfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit e3bf98f

Please sign in to comment.