Removes a bit of dead code and a false positive from the Stanford
lock checker to boot.
SGI Modid: xfs-linux:xfs-kern:
174815a
Signed-off-by: Nathan Scott <nathans@sgi.com>
*/
XFS_QM_LOCK(xfs_Gqm);
- if (xfs_Gqm == NULL) {
- if ((xfs_Gqm = xfs_Gqm_init()) == NULL) {
- return (XFS_ERROR(EINVAL));
- }
- }
+ if (xfs_Gqm == NULL)
+ xfs_Gqm = xfs_Gqm_init();
/*
* We can keep a list of all filesystems with quotas mounted for
* debugging and statistical purposes, but ...