Message ID | 20211214154749.2463147-1-trix@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | fpga: stratix10-soc: cleanup double word in comment | expand |
On 12/14/21 7:47 AM, trix@redhat.com wrote: > From: Tom Rix <trix@redhat.com> > > There are two that's in the comment, remove one. > > Signed-off-by: Tom Rix <trix@redhat.com> Reviewed-by: Russ Weight <russell.h.weight@intel.com> > --- > drivers/fpga/stratix10-soc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/fpga/stratix10-soc.c b/drivers/fpga/stratix10-soc.c > index 357cea58ec98e..862069c95aa3c 100644 > --- a/drivers/fpga/stratix10-soc.c > +++ b/drivers/fpga/stratix10-soc.c > @@ -245,7 +245,7 @@ static int s10_send_buf(struct fpga_manager *mgr, const char *buf, size_t count) > int ret; > uint i; > > - /* get/lock a buffer that that's not being used */ > + /* get/lock a buffer that is not being used */ > for (i = 0; i < NUM_SVC_BUFS; i++) > if (!test_and_set_bit_lock(SVC_BUF_LOCK, > &priv->svc_bufs[i].lock))
On Tue, Dec 14, 2021 at 08:59:45AM -0800, Russ Weight wrote: > > > On 12/14/21 7:47 AM, trix@redhat.com wrote: > > From: Tom Rix <trix@redhat.com> > > > > There are two that's in the comment, remove one. > > > > Signed-off-by: Tom Rix <trix@redhat.com> > Reviewed-by: Russ Weight <russell.h.weight@intel.com> Acked-by: Xu Yilun <yilun.xu@intel.com> Thanks, Yilun > > > --- > > drivers/fpga/stratix10-soc.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/fpga/stratix10-soc.c b/drivers/fpga/stratix10-soc.c > > index 357cea58ec98e..862069c95aa3c 100644 > > --- a/drivers/fpga/stratix10-soc.c > > +++ b/drivers/fpga/stratix10-soc.c > > @@ -245,7 +245,7 @@ static int s10_send_buf(struct fpga_manager *mgr, const char *buf, size_t count) > > int ret; > > uint i; > > > > - /* get/lock a buffer that that's not being used */ > > + /* get/lock a buffer that is not being used */ > > for (i = 0; i < NUM_SVC_BUFS; i++) > > if (!test_and_set_bit_lock(SVC_BUF_LOCK, > > &priv->svc_bufs[i].lock))
diff --git a/drivers/fpga/stratix10-soc.c b/drivers/fpga/stratix10-soc.c index 357cea58ec98e..862069c95aa3c 100644 --- a/drivers/fpga/stratix10-soc.c +++ b/drivers/fpga/stratix10-soc.c @@ -245,7 +245,7 @@ static int s10_send_buf(struct fpga_manager *mgr, const char *buf, size_t count) int ret; uint i; - /* get/lock a buffer that that's not being used */ + /* get/lock a buffer that is not being used */ for (i = 0; i < NUM_SVC_BUFS; i++) if (!test_and_set_bit_lock(SVC_BUF_LOCK, &priv->svc_bufs[i].lock))