Merge tag 'ieee802154-for-davem-2019-09-28' of git://git.kernel.org/pub/scm/linux...
[sfrench/cifs-2.6.git] / drivers / net / ieee802154 / ca8210.c
index 658b399ac9eacf613ce07f2631283db509d2df28..430c93786153457a53fbae09f894da4815f73f6b 100644 (file)
@@ -3019,14 +3019,7 @@ static int ca8210_test_interface_init(struct ca8210_priv *priv)
                priv,
                &test_int_fops
        );
-       if (IS_ERR(test->ca8210_dfs_spi_int)) {
-               dev_err(
-                       &priv->spi->dev,
-                       "Error %ld when creating debugfs node\n",
-                       PTR_ERR(test->ca8210_dfs_spi_int)
-               );
-               return PTR_ERR(test->ca8210_dfs_spi_int);
-       }
+
        debugfs_create_symlink("ca8210", NULL, node_name);
        init_waitqueue_head(&test->readq);
        return kfifo_alloc(