On 12/9/19 9:15 PM, Sean Nyekjaer wrote: > Removal of duplicate code This descrption is a bit short. Is should be a whole sentence and explain why you make this change. Marc > > Signed-off-by: Sean Nyekjaer <sean@xxxxxxxxxx> > Acked-by: Sriram Dash <sriram.dash@xxxxxxxxxxx> > --- > Changes since v2: > - Changed commit msg not to confuse :) > > drivers/net/can/m_can/m_can.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c > index 02c5795b7393..4edc6f6e5165 100644 > --- a/drivers/net/can/m_can/m_can.c > +++ b/drivers/net/can/m_can/m_can.c > @@ -380,10 +380,6 @@ void m_can_config_endisable(struct m_can_classdev *cdev, bool enable) > cccr &= ~CCCR_CSR; > > if (enable) { > - /* Clear the Clock stop request if it was set */ > - if (cccr & CCCR_CSR) > - cccr &= ~CCCR_CSR; > - > /* enable m_can configuration */ > m_can_write(cdev, M_CAN_CCCR, cccr | CCCR_INIT); > udelay(5); > -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachment:
signature.asc
Description: OpenPGP digital signature