Release coccinelle-0.1.9-rc1
[bpt/coccinelle.git] / tests / axnet.cocci
CommitLineData
34e49164
C
1@@
2expression E;
3identifier link;
4@@
5
6- void
7+ int
8axnet_config(struct pcmcia_device *link) {
9 <...
10(
11 if (E) {
12 ...
13 axnet_release(...);
14 ...
15- return;
16+ return -ENODEV;
17 }
18|
19 if (E) {
20 ...
21 cs_error(...);
22 ...
23- return;
24+ return -ENODEV;
25 }
26)
27 ...>
28}