commit | c46b8a6567fb6e0119cb22819aa65faf8d101a2f | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Apr 23 16:09:56 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Apr 23 16:09:56 2012 -0700 |
tree | 83d1d93347ec655c02a3d5152be748e798c44eda | |
parent | 305b8766a9833491b388ac98d57ce38a8106a1e0 [diff] |
Staging: line6: only allocate a buffer if it is needed Only allocate the version request buffer if it is needed, not when the module starts up. This will let us make the module_init path much smaller. CC: Markus Grabner <grabner@icg.tugraz.at> CC: Stefan Hajnoczi <stefanha@gmail.com> CC: Julia Lawall <julia@diku.dk> CC: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>