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

Commit f24e35d8 authored by Anirudh Venkataramanan's avatar Anirudh Venkataramanan Committed by Jeff Kirsher
Browse files

ice: Remove braces for single statement blocks



Fix checkpatch warning "WARNING:BRACES: braces {} are not necessary
for single statement blocks"

Signed-off-by: default avatarAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 173e23c0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1903,9 +1903,8 @@ static int ice_vc_cfg_qs_msg(struct ice_vf *vf, u8 *msg)
	}

	vsi = pf->vsi[vf->lan_vsi_idx];
	if (!vsi) {
	if (!vsi)
		goto error_param;
	}

	if (qci->num_queue_pairs > ICE_MAX_BASE_QS_PER_VF) {
		dev_err(&pf->pdev->dev,