summaryrefslogtreecommitdiffstats
path: root/drivers/ifxmodem/stk.c
diff options
context:
space:
mode:
authorJeevaka Badrappan <jeevaka.badrappan@elektrobit.com>2011-01-29 05:34:40 -0800
committerMarcel Holtmann <marcel@holtmann.org>2011-01-29 18:39:37 +0100
commit52e46e42ffade1925a783f1d649573262b5e67ca (patch)
treef8552d2f1ea5e2dfeb3701d0d177118d65d156a9 /drivers/ifxmodem/stk.c
parentc00904e2d3a8d000a2b792ae93da4d8aac33a4f8 (diff)
downloadofono-52e46e42ffade1925a783f1d649573262b5e67ca.tar.bz2
ifxmodem: remove NULL check
Diffstat (limited to 'drivers/ifxmodem/stk.c')
-rw-r--r--drivers/ifxmodem/stk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ifxmodem/stk.c b/drivers/ifxmodem/stk.c
index 59511493..f08cf471 100644
--- a/drivers/ifxmodem/stk.c
+++ b/drivers/ifxmodem/stk.c
@@ -104,7 +104,7 @@ static void ifx_stk_envelope(struct ofono_stk *stk, int length,
DBG("");
- if (cbd == NULL || buf == NULL)
+ if (buf == NULL)
goto error;
len = sprintf(buf, "AT+SATE=\"");
@@ -150,7 +150,7 @@ static void ifx_stk_terminal_response(struct ofono_stk *stk, int length,
DBG("");
- if (cbd == NULL || buf == NULL)
+ if (buf == NULL)
goto error;
len = sprintf(buf, "AT+SATR=\"");