Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1287113
| From | Sudip Mukherjee <sudipm.mukherjee@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] Staging: speakup: varhandlers: cleanup of function spk_get_punc_var |
| Date | 2015-12-09 06:20 +0100 |
| Message-ID | <qDFku-3Y0-9@gated-at.bofh.it> (permalink) |
| References | <qD3Id-4T1-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Dec 07, 2015 at 06:35:11PM +0530, Saurabh Sengar wrote: > This patch does the following: > * changed the complicated if statements to simple case statements > * in case of E_DEFAULT, no need to return error as ERESTART, > because this is the user asked for. Hence function should return success. > * ret variable is 0 always, hence removed it. > * removed one ternary operator, as it was always returning the status value only, > and hence removed the status variable too That becomes 4 different changes. Please break them into separate patches. 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 | Find similar | Unroll thread
[PATCH] Staging: speakup: varhandlers: cleanup of function spk_get_punc_var Saurabh Sengar <saurabh.truth@gmail.com> - 2015-12-07 14:10 +0100 Re: [PATCH] Staging: speakup: varhandlers: cleanup of function spk_get_punc_var Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-12-09 06:20 +0100
csiph-web