Modified NOTICE file and license version
[apps/native/ug-wifi-direct.git] / ug-wifidirect / src / wfd_motion_control.c
index f3ca73f..341b844 100755 (executable)
@@ -3,7 +3,7 @@
  *
  * Copyright 2012 Samsung Electronics Co., Ltd
  *
- * Licensed under the Flora License, Version 1.0 (the "License");
+ * Licensed under the Flora License, Version 1.1 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
@@ -91,11 +91,6 @@ static void __motion_shake_cb(unsigned int event_type, sensor_event_data_t *even
        int ret = -1;
        const char *btn_text = NULL;
 
-       if (NULL == ugd) {
-               DBG(LOG_ERROR, "Incorrect parameter(NULL)\n");
-               return;
-       }
-
        wfd_refresh_wifi_direct_state(ugd);
 
        if (NULL == ugd->scan_toolbar) {