Fix: extraneous parentheses

This commit is contained in:
Rin Cat 2020-08-02 06:30:26 -04:00
parent a7debd9261
commit 260141f339
No known key found for this signature in database
GPG Key ID: 7E93675C2BDBB222

View File

@ -3002,7 +3002,7 @@ int rtw_mp_link(struct net_device *dev,
/* tmp[0],[1],[2] */
/* txdata,00e04c871200........... */
if (strcmp(tmp[0], "txdata") == 0) {
if ((tmp[1] == NULL)) {
if (tmp[1] == NULL) {
ret = -EINVAL;
goto exit;
}