svn commit: r314142 - head/sys/dev/ce
Benjamin Kaduk
bjkfbsd at gmail.com
Thu Feb 23 17:13:16 UTC 2017
On Thu, Feb 23, 2017 at 9:30 AM, Pedro F. Giffuni <pfg at freebsd.org> wrote:
> Author: pfg
> Date: Thu Feb 23 15:30:21 2017
> New Revision: 314142
> URL: https://svnweb.freebsd.org/changeset/base/314142
>
> Log:
> dev/ce: double assignment.
>
> The code is not operational right now so just comment away an obviously
> useless assignment. Fix some typos while here.
>
> Found with: coccinelle (da.cocci)
>
> Modified:
> head/sys/dev/ce/ceddk.c
>
> Modified: head/sys/dev/ce/ceddk.c
> ============================================================
> ==================
> --- head/sys/dev/ce/ceddk.c Thu Feb 23 15:10:46 2017 (r314141)
> +++ head/sys/dev/ce/ceddk.c Thu Feb 23 15:30:21 2017 (r314142)
> @@ -632,8 +632,8 @@ void ce_stop_chan (ce_chan_t *c)
> "UserRequest (%s:%d)\n", __FUNCTION__,
> __LINE__));
> return;
> }
> - req->Command = TAU32_Configure_Commit |
> - TAU32_Tx_Stop | TAU32_Rx_Stop;
> +// req->Command = TAU32_Configure_Commit |
> +// TAU32_Tx_Stop | TAU32_Rx_Stop;
>
Should probably stick to C-style comments, though.
-Ben
More information about the svn-src-all
mailing list