Merge remote-tracking branch 'net-next/master' into mac80211-next
[cascardo/linux.git] / net / x25 / af_x25.c
index a750f33..f83b74d 100644 (file)
@@ -1500,12 +1500,8 @@ out_fac_release:
                        goto out_dtefac_release;
                if (dtefacs.calling_len > X25_MAX_AE_LEN)
                        goto out_dtefac_release;
-               if (dtefacs.calling_ae == NULL)
-                       goto out_dtefac_release;
                if (dtefacs.called_len > X25_MAX_AE_LEN)
                        goto out_dtefac_release;
-               if (dtefacs.called_ae == NULL)
-                       goto out_dtefac_release;
                x25->dte_facilities = dtefacs;
                rc = 0;
 out_dtefac_release: