Fix the invalid code
authorSung-jae Park <nicesj.park@samsung.com>
Wed, 26 Jun 2013 00:40:23 +0000 (09:40 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Wed, 26 Jun 2013 00:40:23 +0000 (09:40 +0900)
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] GCC 4.8 warnings.
[cause] Callback data is NULL but it is dereferred from the callback function.
[solution] Remove invalid code
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I96489bef780eba9368493b9c668abf9e97e30e94

src/livebox.c

index ddebcbb..bc7f0aa 100644 (file)
@@ -176,13 +176,6 @@ errout:
 static void resize_cb(struct livebox *handler, const struct packet *result, void *data)
 {
        int ret;
-       struct cb_info *info = data;
-       ret_cb_t cb;
-       void *cbdata;
-
-       cb = info->cb;
-       cbdata = info->data;
-       destroy_cb_info(info);
 
        if (!result) {
                ret = LB_STATUS_ERROR_FAULT;