]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
GFS2: Remove no-op wrapper function
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 3 Jun 2013 10:12:59 +0000 (11:12 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 5 Jun 2013 08:51:23 +0000 (09:51 +0100)
This wrapper function is no longer required, so get rid of it.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/quota.c

index c253b13722e8a8e2fc08b9708da11f74fe3b270a..3768c2f40e43350f3586769e9b40974ac9138a74 100644 (file)
@@ -1154,11 +1154,6 @@ int gfs2_quota_sync(struct super_block *sb, int type)
        return error;
 }
 
-static int gfs2_quota_sync_timeo(struct super_block *sb, int type)
-{
-       return gfs2_quota_sync(sb, type);
-}
-
 int gfs2_quota_refresh(struct gfs2_sbd *sdp, struct kqid qid)
 {
        struct gfs2_quota_data *qd;
@@ -1414,7 +1409,7 @@ int gfs2_quotad(void *data)
                                           &tune->gt_statfs_quantum);
 
                /* Update quota file */
-               quotad_check_timeo(sdp, "sync", gfs2_quota_sync_timeo, t,
+               quotad_check_timeo(sdp, "sync", gfs2_quota_sync, t,
                                   &quotad_timeo, &tune->gt_quota_quantum);
 
                /* Check for & recover partially truncated inodes */