tty: n_gsm: fix mux activation issues in gsm_config()
Quoted 5 lines
Review
Quoted 3 lines
static int gsm_config(struct gsm_mux *gsm, struct gsm_config *c) {(quoted diff) +1
-0+ int ret = 0;Why is the initialization needed? You can as well declare the variable only inside the if below.
You are right, this was unneeded. But this patch was already included in the tty-linus branch. Shall I resubmit it nevertheless?
Best regards,
Daniel Starke
Jiri Slaby
maintainerQuoted 8 lines · Daniel
Quoted 5 lines
Review
Quoted 3 lines
static int gsm_config(struct gsm_mux *gsm, struct gsm_config *c) {(quoted diff) +1
-0+ int ret = 0;Why is the initialization needed? You can as well declare the variable only inside the if below.
You are right, this was unneeded. But this patch was already included in the tty-linus branch. Shall I resubmit it nevertheless?
In that case, you can only send a fixup patch...
thanks,
Signature · 2 lines
js suse labs