File tree 1 file changed +0
-14
lines changed
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -1269,16 +1269,6 @@ static int dpcm_be_connect(struct snd_soc_pcm_runtime *fe,
1269
1269
stream ? "capture" : "playback" , fe -> dai_link -> name ,
1270
1270
stream ? "<-" : "->" , be -> dai_link -> name );
1271
1271
1272
- #ifdef CONFIG_DEBUG_FS
1273
- if (fe -> debugfs_dpcm_root ) {
1274
- pr_debug ("%s: debugfs create on '%s'\n" ,
1275
- __func__ , be -> dai_link -> name );
1276
- dpcm -> debugfs_state = debugfs_create_u32 (be -> dai_link -> name , 0644 ,
1277
- fe -> debugfs_dpcm_root , & dpcm -> state );
1278
- } else {
1279
- pr_debug ("%s: debugfs nop\n" , __func__ );
1280
- }
1281
- #endif
1282
1272
return 1 ;
1283
1273
}
1284
1274
@@ -1330,10 +1320,6 @@ void dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream)
1330
1320
/* BEs still alive need new FE */
1331
1321
dpcm_be_reparent (fe , dpcm -> be , stream );
1332
1322
1333
- #ifdef CONFIG_DEBUG_FS
1334
- if (fe -> debugfs_dpcm_root )
1335
- debugfs_remove (dpcm -> debugfs_state );
1336
- #endif
1337
1323
list_del (& dpcm -> list_be );
1338
1324
list_del (& dpcm -> list_fe );
1339
1325
kfree (dpcm );
You can’t perform that action at this time.
0 commit comments