summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_error.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2011-03-07 02:04:35 +0300
committerDave Chinner <david@fromorbit.com>2011-03-07 02:04:35 +0300
commitaf34e09da42801c97f39f768c715f5511d914b52 (patch)
tree998f2d3d7e0dced4f401dd00073b1de411027ae7 /fs/xfs/xfs_error.h
parent65333b4c3d46909872796321d15f179cb0e32028 (diff)
downloadlinux-af34e09da42801c97f39f768c715f5511d914b52.tar.xz
xfs: kill xfs_fs_mount_cmn_err() macro
The xfs_fs_mount_cmn_err() hides a simple check as to whether the mount path should output an error or not. Remove the macro and open code the check. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Alex Elder <aelder@sgi.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_error.h')
-rw-r--r--fs/xfs/xfs_error.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/xfs/xfs_error.h b/fs/xfs/xfs_error.h
index 4c8b5007000a..e8360514c250 100644
--- a/fs/xfs/xfs_error.h
+++ b/fs/xfs/xfs_error.h
@@ -162,10 +162,4 @@ struct xfs_mount;
extern void xfs_hex_dump(void *p, int length);
-#define xfs_fs_mount_cmn_err(f, fmt, args...) \
- do { \
- if (!(f & XFS_MFSI_QUIET)) \
- cmn_err(CE_WARN, "XFS: " fmt, ## args); \
- } while (0)
-
#endif /* __XFS_ERROR_H__ */