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

Commit 6de925b1 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman
Browse files

Staging: hv: vmbus: Cleanup some error codes in vmbus_drv.c



Cleanup some error codes in vmbus_drv.c

Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f38cf9cc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -329,7 +329,7 @@ static int vmbus_probe(struct device *child_device)
	} else {
		pr_err("probe not set for driver %s\n",
		       dev_name(child_device));
		ret = -1;
		ret = -ENODEV;
	}
	return ret;
}
@@ -352,7 +352,7 @@ static int vmbus_remove(struct device *child_device)
		} else {
			pr_err("remove not set for driver %s\n",
				dev_name(child_device));
			ret = -1;
			ret = -ENODEV;
		}
	}