Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1277990

Re: [PATCH] staging/dgap: move duplicated code from the dgap_cm.* functions

From Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] staging/dgap: move duplicated code from the dgap_cm.* functions
Date 2015-11-26 07:30 +0100
Message-ID <qyYe6-ZD-11@gated-at.bofh.it> (permalink)
References <qyI9j-6MK-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Nov 25, 2015 at 07:10:30PM +0600, Alexander Kuleshov wrote:
> The dgap driver contains three functions: dgap_cmdb(), dgap_cmdw()
> and dgap_cmdw_exit which are contain duplicated code which waits
> if necessary before updating the pointer to limit outstanding
> commands. This patch introduces the wait_for_fep_cmds_limit()
> function which is will be called from these functions to prevent
> code duplication.
> ---

Signed-off-by ?

regards
sudip
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] staging/dgap: move duplicated code from the dgap_cm.* functions Alexander Kuleshov <kuleshovmail@gmail.com> - 2015-11-25 14:20 +0100
  Re: [PATCH] staging/dgap: move duplicated code from the dgap_cm.*  functions Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-11-26 07:30 +0100
    Re: [PATCH] staging/dgap: move duplicated code from the dgap_cm.* functions Alexander Kuleshov <kuleshovmail@gmail.com> - 2015-11-26 20:00 +0100

csiph-web