Message ID | alpine.DEB.2.21.2004151614180.2381@hadrien (mailing list archive) |
---|---|
State | RFC |
Headers | show |
Series | RDMA/irdma: fix boolconv.cocci warnings | expand |
--- a/drivers/infiniband/hw/irdma/irdma_if.c +++ b/drivers/infiniband/hw/irdma/irdma_if.c @@ -135,7 +135,7 @@ static void irdma_event_handler(struct i l2params.tc_changed = true; dev_dbg(rfdev_to_dev(&iwdev->rf->sc_dev), "CLNT: TC Change\n"); - iwdev->dcb = event->info.port_qos.num_tc > 1 ? true : false; + iwdev->dcb = event->info.port_qos.num_tc > 1; for (i = 0; i < IIDC_MAX_USER_PRIORITY; ++i) l2params.up2tc[i] = event->info.port_qos.up2tc[i];