Skip to content

Commit

Permalink
NFS: Fix a compile warning about unused variable in nfs_generic_pg_pg…
Browse files Browse the repository at this point in the history
…ios()

Signed-off-by: Trond Myklebust <[email protected]>
  • Loading branch information
trondmypd committed Jan 8, 2016
1 parent 926ea40 commit 44aab3e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fs/nfs/pagelist.c
Original file line number Diff line number Diff line change
Expand Up @@ -796,12 +796,9 @@ EXPORT_SYMBOL_GPL(nfs_generic_pgio);

static int nfs_generic_pg_pgios(struct nfs_pageio_descriptor *desc)
{
struct nfs_pgio_mirror *mirror;
struct nfs_pgio_header *hdr;
int ret;

mirror = nfs_pgio_current_mirror(desc);

hdr = nfs_pgio_header_alloc(desc->pg_rw_ops);
if (!hdr) {
desc->pg_error = -ENOMEM;
Expand Down

0 comments on commit 44aab3e

Please sign in to comment.