summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik <fredrik@krixor.xy.org>2002-01-22 13:47:52 +0000
committerFredrik <fredrik@krixor.xy.org>2002-01-22 13:47:52 +0000
commit483bb7a0162c32127200197660d6e6684429c27f (patch)
treeba851571ddf210900df57ba44debec9f95d16728
parent3cabf140c2ae8e165eb29c6f66886c5a6b34ddc4 (diff)
downloadlibgphoto2-483bb7a0162c32127200197660d6e6684429c27f.tar.gz
removed unused code from canon_usb_unlock_keys(). leftover from copying
canon_usb_lock_keys() when implementing. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3986 67ed7778-7388-44ab-90cf-0a291f65f57c
-rw-r--r--camlibs/canon/usb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/camlibs/canon/usb.c b/camlibs/canon/usb.c
index b0e7e3cb6..8845ccf7c 100644
--- a/camlibs/canon/usb.c
+++ b/camlibs/canon/usb.c
@@ -313,15 +313,11 @@ canon_usb_unlock_keys (Camera *camera)
{
unsigned char *c_res;
int bytes_read;
- char payload[4];
GP_DEBUG ("canon_usb_unlock_keys()");
switch (camera->pl->md->model) {
case CANON_EOS_D30:
- memset (payload, 0, sizeof (payload));
- payload[0] = 0x06;
-
c_res = canon_usb_dialogue (camera, CANON_USB_FUNCTION_EOS_UNLOCK_KEYS,
&bytes_read, NULL, 0);
/* Should look at the bytes returned, but I don't know what they mean */