[dpdk-dev] [PATCH 5/5] net/virtio: squeeze repeated blank lines

Tiwei Bie tiwei.bie at intel.com
Thu Dec 7 11:32:50 CET 2017


On Thu, Dec 07, 2017 at 10:22:43AM +0100, Maxime Coquelin wrote:
> On 12/07/2017 06:30 AM, Tiwei Bie wrote:
> > Squeeze repeated blank lines with below scripts:
> > 
> > for i in $(find . -name "*.[ch]"); do \
> >      cat -s $i > /tmp/x && mv /tmp/x $i; done
> > 
> > Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
> > ---
> >   drivers/net/virtio/virtio_ethdev.c | 1 -
> >   drivers/net/virtio/virtio_logs.h   | 1 -
> >   drivers/net/virtio/virtio_pci.c    | 1 -
> >   drivers/net/virtio/virtio_pci.h    | 2 --
> >   drivers/net/virtio/virtio_rxtx.c   | 2 --
> >   5 files changed, 7 deletions(-)
> 
> 
> I don't really like such cleaning patches.
> It does not bring added value, but can create conflicts later when
> backporting or rebasing.
> 

Okay. I'll drop this patch in the next version. Thanks!

Best regards,
Tiwei Bie


More information about the dev mailing list