diff --git a/net/openvswitch/vport.c b/net/openvswitch/vport.c
index 9055dd698c70bc78c7f53728ac7f8611d937b338..03779e8a262289f9a8178e62e0adf5afc16a9ae5 100644
--- a/net/openvswitch/vport.c
+++ b/net/openvswitch/vport.c
@@ -398,7 +398,7 @@ void ovs_vport_record_error(struct vport *vport, enum vport_err_type err_type)
 	case VPORT_E_TX_ERROR:
 		vport->err_stats.tx_errors++;
 		break;
-	};
+	}
 
 	spin_unlock(&vport->stats_lock);
 }