Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44aab3e0 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Fix a compile warning about unused variable in nfs_generic_pg_pgios()

parent 926ea40a
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;