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

Commit 2091c227 authored by Tobias Klauser's avatar Tobias Klauser Committed by David S. Miller
Browse files

ldmvsw: Remove redundant unlikely()



IS_ERR() already implies unlikely(), so it can be omitted.

Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 92978ee8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -307,7 +307,7 @@ static int vsw_port_probe(struct vio_dev *vdev, const struct vio_device_id *id)

	/* Get (or create) the vnet associated with this port */
	vp = vsw_get_vnet(hp, vdev->mp, &handle);
	if (unlikely(IS_ERR(vp))) {
	if (IS_ERR(vp)) {
		err = PTR_ERR(vp);
		pr_err("Failed to get vnet for vsw-port\n");
		mdesc_release(hp);