[PPPOL2TP]: Label unused warning when CONFIG_PROC_FS is not set.
[deliverable/linux.git] / drivers / net / pppol2tp.c
index 1b51bb668d39ac2fb6ecb8b44a3797f06556eea3..5aa0a80896945c994ec574e0c5cb8d035eda5466 100644 (file)
@@ -2468,9 +2468,10 @@ static int __init pppol2tp_init(void)
 
 out:
        return err;
-
+#ifdef CONFIG_PROC_FS
 out_unregister_pppox_proto:
        unregister_pppox_proto(PX_PROTO_OL2TP);
+#endif
 out_unregister_pppol2tp_proto:
        proto_unregister(&pppol2tp_sk_proto);
        goto out;
This page took 0.024023 seconds and 5 git commands to generate.