Re: [PATCH v2 3/8] staging: vt6655: Remove unused `i` increments
From: Dan Carpenter
Date: Thu Nov 04 2021 - 09:39:02 EST
On Mon, Nov 01, 2021 at 02:32:01PM +0000, Karolina Drobnik wrote:
> Commit c569952d92ba ("staging: vt6655: Use incrementation in `idx`")
> rendered the incrementation of `i` outside of the loop unnecessary
> so it can be deleted.
>
That commit hash is something that only exists on your system. Commit
hashes are stable once they hit Greg's tree (he only rebases in extremely
rarely cases).
This commit is cleaning something that was left in a different patch in
the same patch set. Just merge it into the original patch. Don't make
a mess and then fix it.
It's tricky to know how to break up patches. My suggestion is:
patch 1: remove all the unnecesary (unsigned short) casts
patch 2: merge the rest of patches 1-3 together and send it at once
The rest of the patchset is fine.
regards,
dan carpenter