mirror of https://gitee.com/openkylin/linux.git
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: David Kershner <david.kershner@unisys.com> Reviewed-by: Tim Sell <timothy.sell@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
646c7eb5d2
commit
5e259c4b06
|
@ -682,9 +682,6 @@ bus_destroy(struct controlvm_message *inmsg)
|
|||
if (inmsg->hdr.flags.response_expected == 1) {
|
||||
pmsg_hdr = kzalloc(sizeof(*pmsg_hdr), GFP_KERNEL);
|
||||
if (!pmsg_hdr) {
|
||||
POSTCODE_LINUX(MALLOC_FAILURE_PC, cmd,
|
||||
bus_info->chipset_bus_no,
|
||||
DIAG_SEVERITY_ERR);
|
||||
err = -ENOMEM;
|
||||
goto err_respond;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue