Merge tag 'xfs-4.21-merge-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 5 Jan 2019 22:00:56 +0000 (14:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 5 Jan 2019 22:00:56 +0000 (14:00 -0800)
Pull xfs fixlets from Darrick Wong:
 "Remove a couple of unnecessary local variables"

* tag 'xfs-4.21-merge-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
  xfs: xfs_fsops: drop useless LIST_HEAD
  xfs: xfs_buf: drop useless LIST_HEAD

fs/xfs/xfs_buf.c
fs/xfs/xfs_fsops.c

index b21ea2b..eedc5e0 100644 (file)
@@ -1992,7 +1992,6 @@ xfs_buf_delwri_submit_buffers(
        struct list_head        *wait_list)
 {
        struct xfs_buf          *bp, *n;
-       LIST_HEAD               (submit_list);
        int                     pinned = 0;
        struct blk_plug         plug;
 
index ec2e63a..f3ef70c 100644 (file)
@@ -40,7 +40,6 @@ xfs_growfs_data_private(
        xfs_rfsblock_t          new;
        xfs_agnumber_t          oagcount;
        xfs_trans_t             *tp;
-       LIST_HEAD               (buffer_list);
        struct aghdr_init_data  id = {};
 
        nb = in->newblocks;