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

Commit 5e259c4b authored by David Kershner's avatar David Kershner Committed by Greg Kroah-Hartman
Browse files

staging: unisys: visorbus: remove noisy postcode in bus_destroy



Since kzalloc will display error the postcode becomes redundant, it
can be removed.

Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Reviewed-by: default avatarTim Sell <timothy.sell@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 646c7eb5
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -682,9 +682,6 @@ bus_destroy(struct controlvm_message *inmsg)
	if (inmsg->hdr.flags.response_expected == 1) {
	if (inmsg->hdr.flags.response_expected == 1) {
		pmsg_hdr = kzalloc(sizeof(*pmsg_hdr), GFP_KERNEL);
		pmsg_hdr = kzalloc(sizeof(*pmsg_hdr), GFP_KERNEL);
		if (!pmsg_hdr) {
		if (!pmsg_hdr) {
			POSTCODE_LINUX(MALLOC_FAILURE_PC, cmd,
				       bus_info->chipset_bus_no,
				       DIAG_SEVERITY_ERR);
			err = -ENOMEM;
			err = -ENOMEM;
			goto err_respond;
			goto err_respond;
		}
		}