[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+MoWDp-rLL8tq3j0wKszwY2c-kN3fKGexguCH9MgPtHvQOjXQ@mail.gmail.com>
Date: Mon, 7 Sep 2015 16:47:45 +0200
From: Peter Senna Tschudin <peter.senna@...il.com>
To: Felipe Balbi <balbi@...com>, stern@...land.harvard.edu,
Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
Masanari Iida <standby24x7@...il.com>, pmladek@...e.cz,
linux-usb@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: similar files: fusbh200-hcd.c and fotg210-hcd.c
I executed a clone detection tool* on drivers source code and I found
that the files
drivers/usb/host/fusbh200-hcd.c
and
drivers/usb/host/fotg210-hcd.c
are very similar. The main difference between the two files are
replacing the string 'USBH20' by 'OTG21' and some white space fixes.
Some changes are being applied to only one of the files, such as the
commit f848a88d223cafa43cb318839a1171b498cf5ec8 that changes
fotg210-hcd.c but not fusbh200-hcd.c.
Should these files be consolidated? And if so how?
Thank you,
Peter
* https://github.com/petersenna/ccfinderx-core
--
Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists