diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index 8b6a1c14a03e27846b39444a0e09f4020911b718..678d2e749db82f005c59088dc660b26927fb4246 100644 --- a/fs/gfs2/quota.c +++ b/fs/gfs2/quota.c @@ -971,8 +971,6 @@ static int do_sync(unsigned int num_qd, struct gfs2_quota_data **qda) set_bit(QDF_REFRESH, &qd->qd_flags); } - error = 0; - out_end_trans: gfs2_trans_end(sdp); out_ipres: